#ifndef __ITEM__
#define __ITEM__
/*  item.h
* Item class definition
*/

#include "sprite.h"
/*! \brief Item class
*
*/
class Item : public Sprite {
  public:
    /*! \brief Class constructor.
    *
    * \param id integer: Item ID
    * \param value1 integer: custom value 1
    * \param value2 integer: custom value 2
    * \param value3 integer: custom value 3        
    */
    Item(int id, int value1 = 0, int value2 = 0, int value3 = 0);
    /*! \brief Class destructor.
    *
    */
    ~Item();
    /*! \brief Returns one of the 3 custom values.
    *
    * \param n integer: custom value to return (1/2/3)
    * \return integer
    */
    int __getCustomValue(int n);
    /*! \brief Returns the item ID.
    *
    * \return integer
    */
    int __getId();
    /*! \brief Just to make the item shiny.
    *
    */    
    void __update();
    
  private:
    int _id;
    int _value[3];
    int _shine;
};

#endif
